package org.hibiscus.jdp.app.dbdoc;

import com.deepoove.poi.data.style.Style;
import com.deepoove.poi.data.style.TableStyle;

/**
 * 描述：表格风格
 *
 * @author rannuo
 * @date 2019/3/18
 */
public class POITableStyle {

	public static Style getHeaderStyle(){
		Style style = new Style();
		style.setBold(true);
		style.setFontSize(11);
		style.setColor("000000");
		style.setFontFamily("宋体");
		return style;
	}
	
	public static TableStyle getHeaderTableStyle(){
		TableStyle style = new TableStyle();
		style.setBackgroundColor("FFFFFF");
		return style;
	}
	
	public static Style getBodyStyle(){
		Style style = new Style();
		style.setBold(false);
		style.setFontSize(12);
		style.setColor("000000");
		style.setFontFamily("宋体");
		return style;
	}
	
	public static TableStyle getBodyTableStyle(){
		TableStyle style = new TableStyle();
		style.setBackgroundColor("FFFFFF");
		return style;
	}
}
